<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <head>
 <base href="<%=request.getContextPath()%>/">
    <meta charset="utf-8" />
    <title>后台管理系统</title>
    <link rel="stylesheet" type="text/css" href="Styles/admin-all.css" />
    <link rel="stylesheet" type="text/css" href="Styles/base.css" />
    <link rel="stylesheet" type="text/css" href="Styles/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="Styles/ui-lightness/jquery-ui-1.8.22.custom.css" />
    <script type="text/javascript" src="Scripts/jquery-1.7.2.js"></script>
    <script type="text/javascript" src="Scripts/jquery-ui-1.8.22.custom.min.js"></script>
    <script type="text/javascript" src="Scripts/index.js"></script>
</head>
<body>
    <div class="warp">
        <!--头部开始-->
        <div class="top_c">
            <div class="top-menu">
                <ul class="top-menu-nav">
                    <li><a href="#">首页</a></li>
                    <li><a>个人办公<i class="tip-up"></i></a>
                        <ul class="kidc">
                           	<li><a target="Conframe" href="headRout/list?spar=">领导周行程</a></li>
                            <li><a target="Conframe" href="headRout/find">行程查询</a></li>
                            <li><a target="Conframe" href="report/day">工作日报</a></li>
                            <li><a target="Conframe" href="report/week">工作周报</a></li>
                            <li><a target="Conframe" href="report/month">工作月报</a></li>
                            <li><a target="Conframe" href="shar/findAll">个人分享</a></li>
                        </ul>
                    </li>
                    <li>信息管理<i class="tip-up"></i>
                        <ul class="kidc">
                            <li><b class="tip"></b><a target="Conframe" href="news/list">新闻</a></li>
                        	<li><b class="tip"></b><a target="Conframe" href="wp/list">工作计划</a></li>
                        	<li><b class="tip"></b><a target="Conframe" href="speech/list">领导讲话</a></li>
                       	    <li><b class="tip"></b><a target="Conframe" href="ppe/ppeList">固定资产</a></li>
                        </ul>
                    </li>
                    <li>公文管理<i class="tip-up"></i>
                        <ul class="kidc">
                        <li><b class="tip"></b><a target="Conframe" href="write">写公文</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="gongwen/lookgw">查看公文</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="gongwen/looklist">审批公文</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="gongwen/breakgw">退回公文</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="gongwen/lookcg">草稿箱</a></li>
                        </ul>
                    </li>
                    <li>项目管理<i class="tip-up"></i>
                        <ul class="kidc">
                        <li><b class="tip"></b><a target="Conframe" href="item/findAll?page=">项目查询</a></li>
                    </ul>
                    </li>
                    <li><a>绩效管理<i class="tip-up"></i></a>
                        <ul class="kidc">
                        <li><b class="tip"></b><a target="Conframe" href="Template/formstyle.html">寻访记录</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/formstyle.html">数据说明</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/formstyle.html">操作记录</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/formstyle.html">提示</a></li>
                    </ul>
                    </li>
                </ul>
            </div>
            <div class="top-nav">上午好，欢迎您， ${emp.empName } ！&nbsp;&nbsp;<a href="#">修改密码</a> | <a href="#">安全退出</a></div>
        </div>
        <!--头部结束-->
        <!--左边菜单开始-->
        <div class="left_c left">
            <h1>系统操作菜单</h1>
            <div class="acc">
                <div>
                    <a class="one">个人办公</a>
                    <ul class="kid">
                        <li><a target="Conframe" href="headRout/list?spar=">领导周行程</a></li>
                            <li><a target="Conframe" href="headRout/find">行程查询</a></li>
                            <li><a target="Conframe" href="report/day">工作日报</a></li>
                            <li><a target="Conframe" href="report/week">工作周报</a></li>
                            <li><a target="Conframe" href="report/month">工作月报</a></li>
                            <li><a target="Conframe" href="shar/findAll">个人分享</a></li>                   
                    </ul>
                </div>
                <div>
                    <a class="one">信息管理</a>
                    <ul class="kid">
                        <li><b class="tip"></b><a target="Conframe" href="news/list">新闻</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="wp/list">工作计划</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="speech/list">领导讲话</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="ppe/ppeList">固定资产</a></li>
                    </ul>
                </div>
                <div>
                    <a class="one">公文管理</a>
                    <ul class="kid">
                        <li><b class="tip"></b><a target="Conframe" href="write">写公文</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="gongwen/lookgw">查看公文</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="gongwen/looklist">审批公文</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="gongwen/breakgw">退回公文</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="gongwen/lookcg">草稿箱</a></li>
                    </ul>
                </div>
                <div>
                    <a class="one">项目管理</a>
                    <ul class="kid">
                        <li><b class="tip"></b><a target="Conframe" href="item/findAll?page=">项目查询</a></li>
                    </ul>
                </div>
                <div>
                    <a class="one">绩效管理</a>
                    <ul class="kid">
                        <li><b class="tip"></b><a target="Conframe" href="jixiao/daka">考勤打卡</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="kaoqin/query">考勤查询</a></li>
                         <div id="div-1" >   <li><b class="tip"></b><a target="Conframe" href="assess/names?name=${emp.empName }&number=${number }">民主测评</a></li> </div>
                 		<shiro:hasRole name="admin">
                 		 <li><b class="tip"></b><a target="Conframe" href="assess/doScore">绩效得分</a></li>
                 		</shiro:hasRole>
                 		 <li><b class="tip"></b><a target="Conframe" href="check/list">人员信息</a></li>
                    </ul>
                </div>
                <div id="datepicker"></div>
            </div>

        </div>
        <!--左边菜单结束-->
        <!--右边框架开始-->
        <div class="right_c">
            <div class="nav-tip" onclick="javascript:void(0)">&nbsp;</div>

        </div>
        <div class="Conframe">
            <iframe name="Conframe" id="Conframe"></iframe>
        </div>
        <!--右边框架结束-->

        <!--底部开始-->
        <div class="bottom_c">Copyright &copy;2005-2011 深圳艺谷发展科技有限公司 版权所有</div>
        <!--底部结束-->
    </div>
    <input type="hidden" value="${number }" id="aa"/>
</body>
</html>
<script type="text/javascript" src="Scripts/goeasy.js"></script>
<script type="text/javascript">
var goEasy = new GoEasy({appkey: 'BC-26b9ed2ac7364785a09e1242e978bf47'});
goEasy.subscribe({
channel: 'test',
onMessage: function(message){
	if(message.content=="hello,world"){
		$.post("jixiao/hello",{empNum:$("#aa").val()},function(data){
			if(data==1){
				alert("您还未打卡，请打卡")
			}
		})
	}
			if(message.content=="show"){
				$("#div-1").show();
			}
			if(message.content=="hide"){
				$("#div-1").hide();
			}
		}
	});
goEasy.subscribe({
	channel: 'plan',
	onMessage: function(message){
		alert(message.content)
	}
});
</script>
